package com.example.tester.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 *
 * MQ极简配置
 * @author lzh
 * @date 2019/9/17 - 14:12
 */
@Configuration
public class HelloQueue {



    @Bean
    public Queue Queue() {
        return new Queue("hello");
    }
}
